package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class corecmsusergrade {
    // id
    @Id
    private long id;

    // 门店ID
    private Integer storeId;

    // 总店ID
    private Integer corpId;

    // 标题
    private String title;

    // 是否默认
    private Boolean isDefault = false;

    // 开启自动升级
    private Boolean isOpenUpgrade;

    // 发展用户数量
    private int developNum;

    // 订单消费金额
    private int expenditureMoney;

    // 充值总金额
    private int rechargeAmount;

    // 权重优先级
    private int prioritySortId;

    // 创建时间
    private Date createTime;

    // 删除标志
    private boolean isDelete;

    // 修改时间
    private long modifyTime = 0;

    // 折扣
    private double discountValue = 100;

    // 优惠类型
    private int discountType = 0;

    @Generated(hash = 602745504)
    public corecmsusergrade(long id, Integer storeId, Integer corpId, String title,
            Boolean isDefault, Boolean isOpenUpgrade, int developNum,
            int expenditureMoney, int rechargeAmount, int prioritySortId,
            Date createTime, boolean isDelete, long modifyTime,
            double discountValue, int discountType) {
        this.id = id;
        this.storeId = storeId;
        this.corpId = corpId;
        this.title = title;
        this.isDefault = isDefault;
        this.isOpenUpgrade = isOpenUpgrade;
        this.developNum = developNum;
        this.expenditureMoney = expenditureMoney;
        this.rechargeAmount = rechargeAmount;
        this.prioritySortId = prioritySortId;
        this.createTime = createTime;
        this.isDelete = isDelete;
        this.modifyTime = modifyTime;
        this.discountValue = discountValue;
        this.discountType = discountType;
    }

    @Generated(hash = 1897116467)
    public corecmsusergrade() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Integer getStoreId() {
        return this.storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getCorpId() {
        return this.corpId;
    }

    public void setCorpId(Integer corpId) {
        this.corpId = corpId;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Boolean getIsDefault() {
        return this.isDefault;
    }

    public void setIsDefault(Boolean isDefault) {
        this.isDefault = isDefault;
    }

    public Boolean getIsOpenUpgrade() {
        return this.isOpenUpgrade;
    }

    public void setIsOpenUpgrade(Boolean isOpenUpgrade) {
        this.isOpenUpgrade = isOpenUpgrade;
    }

    public int getDevelopNum() {
        return this.developNum;
    }

    public void setDevelopNum(int developNum) {
        this.developNum = developNum;
    }

    public int getExpenditureMoney() {
        return this.expenditureMoney;
    }

    public void setExpenditureMoney(int expenditureMoney) {
        this.expenditureMoney = expenditureMoney;
    }

    public int getRechargeAmount() {
        return this.rechargeAmount;
    }

    public void setRechargeAmount(int rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public int getPrioritySortId() {
        return this.prioritySortId;
    }

    public void setPrioritySortId(int prioritySortId) {
        this.prioritySortId = prioritySortId;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public boolean getIsDelete() {
        return this.isDelete;
    }

    public void setIsDelete(boolean isDelete) {
        this.isDelete = isDelete;
    }

    public long getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(long modifyTime) {
        this.modifyTime = modifyTime;
    }

    public double getDiscountValue() {
        return this.discountValue;
    }

    public void setDiscountValue(double discountValue) {
        this.discountValue = discountValue;
    }

    public int getDiscountType() {
        return this.discountType;
    }

    public void setDiscountType(int discountType) {
        this.discountType = discountType;
    }

}
